/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Goals;

import Current.Account;
import Goals.Calculations.DefenseGoals;
import Goals.Calculations.OffenseGoals;
import Goals.Calculations.SpyDefenseGoals;
import Goals.Calculations.SpyOffenseGoals;

import java.io.Serializable;

/**
 * @author Fork
 */
class StatBasedGoals implements Serializable, Cloneable {

    private OffenseGoals offenseGoals;
    private DefenseGoals defenseGoal;
    private SpyOffenseGoals spyOffenseGoal;
    private SpyDefenseGoals spyDefenseGoal;
    private Account account;

    public StatBasedGoals(OffenseGoals offenseGoal, DefenseGoals defenseGoal, SpyOffenseGoals spyOffenseGoal, SpyDefenseGoals spyDefenseGoal, Account account) {
        this.offenseGoals = offenseGoal;
        this.defenseGoal = defenseGoal;
        this.spyOffenseGoal = spyOffenseGoal;
        this.spyDefenseGoal = spyDefenseGoal;
        this.account = account;
    }

    public StatBasedGoals(Account account) {
        this.offenseGoals = new OffenseGoals(account);
        this.defenseGoal = new DefenseGoals(account);
        this.spyOffenseGoal = new SpyOffenseGoals(account);
        this.spyDefenseGoal = new SpyDefenseGoals(account);
        this.account = account;
    }
}
